﻿Imports System.Runtime.CompilerServices





''' <summary>
''' 扩展 方法
''' </summary>
''' <remarks></remarks>
Public Module Extension

    ''' <summary>
    ''' 判断字符串是否为空 或 空串
    ''' </summary>
    <Extension()> _
    Public Function IsNullOrEmpty(ByVal value As String) As Boolean
        Return String.IsNullOrEmpty(value)
    End Function


    ''' <summary>
    ''' 判断字符串不为 空 或 空串
    ''' </summary>
    <Extension()> _
    Public Function IsNotNullOrEmpty(ByVal value As String) As Boolean
        Return Not String.IsNullOrEmpty(value)
    End Function

End Module
